import { _decorator } from "cc";
import { BaseAdBtn } from "../Component/BaseAdBtn";
const { ccclass, property } = _decorator;

@ccclass('AdStart')
export class AdStart extends BaseAdBtn {


    protected onAdSucc(): void {
        this.rootNode.destroy();
        // gameEventMgr.postMsg(EventConst.ADD_TREE);
    }

    // protected show(): void {
    //     this.node.active = true;
    //     this.tipNode.active = false;
    // }

    protected hide(): void {
        this.node.active = false;
        this.tomorrowTxt.active = true;
    }
}